package com.lzx.library.dowload;

/**
 * <pre>
 *     author : 张辉
 *     e-mail : 397243131@qq.com
 *     time   : 2021/07/28
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class DownloadBean {

    /**
     * code : 1000
     * result : {"versionid":17,"packagename":"com.lzx.assess.big.screen","versionname":"1.2","versioncode":"4","versiondesc":"1.修复文字错误。\n2.修复猜扑克逻辑。","url":"https://hunanlingzhixin.oss-cn-hangzhou.aliyuncs.com/hnlzx/2021-07-07/ccfe2ef4ef2442e1bdf59b8928c85120.apk","isupdate":0,"companyType":1}
     * msg : 操作成功
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * versionid : 17
         * packagename : com.lzx.assess.big.screen
         * versionname : 1.2
         * versioncode : 4
         * versiondesc : 1.修复文字错误。
         2.修复猜扑克逻辑。
         * url : https://hunanlingzhixin.oss-cn-hangzhou.aliyuncs.com/hnlzx/2021-07-07/ccfe2ef4ef2442e1bdf59b8928c85120.apk
         * isupdate : 0
         * companyType : 1
         */

        private int versionid;
        private String packagename;
        private String versionname;
        private String versioncode;
        private String versiondesc;
        private String url;
        private int isupdate;
        private int companyType;

        public int getVersionid() {
            return versionid;
        }

        public void setVersionid(int versionid) {
            this.versionid = versionid;
        }

        public String getPackagename() {
            return packagename;
        }

        public void setPackagename(String packagename) {
            this.packagename = packagename;
        }

        public String getVersionname() {
            return versionname;
        }

        public void setVersionname(String versionname) {
            this.versionname = versionname;
        }

        public String getVersioncode() {
            return versioncode;
        }

        public void setVersioncode(String versioncode) {
            this.versioncode = versioncode;
        }

        public String getVersiondesc() {
            return versiondesc;
        }

        public void setVersiondesc(String versiondesc) {
            this.versiondesc = versiondesc;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getIsupdate() {
            return isupdate;
        }

        public void setIsupdate(int isupdate) {
            this.isupdate = isupdate;
        }

        public int getCompanyType() {
            return companyType;
        }

        public void setCompanyType(int companyType) {
            this.companyType = companyType;
        }
    }
}
